package com.study.talk.module.netty.message.request;

import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 申请加入群聊请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApplyGroupRequest extends TalkMessage {

    @ApiModelProperty("申请加入群聊的群id")
    private Integer groupId;

    @Override
    public byte getType() {
        return MessageType.APPLY_GROUP_REQUEST;
    }
}
